package io.renren.modules.canteens.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.renren.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 财务记录表
 *
 * @author 翟文闯 619556390@QQ.com
 * @since 1.0.0 2019-12-04
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("canteens_finance")
public class FinanceEntity {
	private static final long serialVersionUID = 1L;

    /**
     * 财务记录表
     */
	@TableId
	private Long financeId;
    /**
     * 操作人
     */
	private String operator;
    /**
     * 操作时间
     */
	private Date operatorTime;
    /**
     * 应付金额
     */
	private Float amountPayable;
    /**
     * 实付金额
     */
	private Float actualAmountPaid;
    /**
     * 支付状态
     */
	private Integer isPayment;
    /**
     * 供应商id
     */
	private Long supplierId;
    /**
     * 订单id
     */
	private Long orderid;
	/**
	 * 食堂id
	 */
	private String canteenId;
	/**
	 * 类型
	 */
	private String type;
	/**
	 * 创建时间
	 */
	private Date createDate;
}